gtk/gtkcsstypesprivate.h: Fix Build
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 30 Jul 2015 06:52:10 +0000 (14:52 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 5 Aug 2015 21:48:22 +0000 (05:48 +0800)
commitf0a1a0c0a42d1ba82be967fbbf7219ea27c11ebd
tree6cf9211b149155d316e41833667d81ac77b700c2
parentdea3bb2690920e3fed6edc63b56dfad3dd843d84
gtk/gtkcsstypesprivate.h: Fix Build

The recent change to the enum declaration for GtkCssChange actually
relied on compiler-dependent behavior, which also breaks the build on
some non-GCC compilers, such as Visual Studio.  As noted in the
G_STATIC_ASSERT line just beneath this declaration, we need to change
this enum declaration to #define's, in order to fix the build in such
situations.

https://bugzilla.gnome.org/show_bug.cgi?id=752814
gtk/gtkcsstypesprivate.h